package com.xiaochen.manager.mapper;

import com.xiaochen.model.entity.product.ProductDetails;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ProductDetailsMapper {

    /**
     * 添加
     */
    void save(ProductDetails productDetails);

    ProductDetails selectByProductId(Long id);

    /**
     * 根据ID修改productDetails信息
     * @param productDetails
     */
    void updateById(ProductDetails productDetails);

    /**
     * 删除
     */
    void deleteByProductId(Long id);
}
